#ifndef WOOCHY_MOVEMENT_H
#define WOOCHY_MOVEMENT_H

#include <list>
#include "cv.h"

enum {
	MOVEMENT_OBJECT_ANY,
	MOVEMENT_OBJECT_HAND,
	MOVEMENT_OBJECT_LHAND,
	MOVEMENT_OBJECT_RHAND,
	MOVEMENT_OBJECT_HEAD,
};

enum {
	MOVEMENT_COORD_FACE_CENT,
	MOVEMENT_COORD_LAST_COORD,
};

enum {
	MOVEMENT_COORD_UNIT_FACE_RAD,
	MOVEMENT_COORD_UNIT_PIXEL,
	MOVEMENT_COORD_UNIT_LAST
};

typedef struct Movement {
	int start_time;	/* Unit: second */
	int duration;
	int object;
	int coord;
	int unit;
	std::list<std::pair<double, double> > points;
	std::list<CvPoint> points_on_img;
	void *extra_data;
} Movement;

#endif

